class FormUtil {

    static handleChange(component, e) {
        component.setState({[e.target.name]: e.target.value});
    }
}

export default FormUtil;
